package com.briup.trade.mapper;



import com.briup.trade.domain.po.Order;
import com.briup.trade.domain.vo.OderItemAndGoodsVO;
import com.briup.trade.domain.vo.OrderGetDetailVO;

import java.util.List;

/**
* @author qinyc
* @description 针对表【es_order(订单表)】的数据库操作Mapper
* @createDate 2024-12-24 09:16:52
* @Entity com.briup.store.pojo.Order
*/
public interface OrderMapper{

    void insert(Order order);

    List<Order> selectOrdersByUserId(Integer userId);

    Order selectOrderById(String id);

    void updateStatus(String id);

    OrderGetDetailVO detailOrder(String orderId);

    void update(Order order);

    OrderGetDetailVO getDetailOrderWithoutGoods(String orderId);
}




